import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgValidateForm } from '@farris/devkit';
var EmployeeMsG32pViewmodelForm = /** @class */ (function (_super) {
    tslib_1.__extends(EmployeeMsG32pViewmodelForm, _super);
    function EmployeeMsG32pViewmodelForm() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgFormControl({
            id: 'code_b68e32f3_6rk6',
            name: "{{code_b68e32f3_6rk6}}",
            binding: 'code',
            updateOn: 'blur',
            defaultI18nValue: '编号',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "code", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'name_e801c1ec_3kvx',
            name: "{{name_e801c1ec_3kvx}}",
            binding: 'name',
            updateOn: 'blur',
            defaultI18nValue: '姓名',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "name", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'remark_39ce333b_gn3u',
            name: "{{remark_39ce333b_gn3u}}",
            binding: 'remark',
            updateOn: 'blur',
            defaultI18nValue: '备注',
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "remark", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'state_e1df28e6_z1h0',
            name: "{{state_e1df28e6_z1h0}}",
            binding: 'state',
            updateOn: 'blur',
            defaultI18nValue: '状态',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "state", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'organization_d7c826e7_m7x7',
            name: "{{organization_d7c826e7_m7x7}}",
            binding: 'organization',
            updateOn: 'blur',
            defaultI18nValue: '组织',
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "organization", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'gender_5f95fc88_4gq0',
            name: "{{gender_5f95fc88_4gq0}}",
            binding: 'gender',
            updateOn: 'blur',
            defaultI18nValue: '性别',
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "gender", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'countryOrArea_74e58ef6_9ve3',
            name: "{{countryOrArea_74e58ef6_9ve3}}",
            binding: 'countryOrArea',
            updateOn: 'blur',
            defaultI18nValue: '所属国家或地区',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "countryOrArea", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'location_25181afb_55ae',
            name: "{{location_25181afb_55ae}}",
            binding: 'location',
            updateOn: 'blur',
            defaultI18nValue: '常驻地',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "location", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'idNumber_5858174d_8uv1',
            name: "{{idNumber_5858174d_8uv1}}",
            binding: 'idNumber',
            updateOn: 'blur',
            defaultI18nValue: '身份证号',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "idNumber", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'phoneNumber_45341bbd_bf59',
            name: "{{phoneNumber_45341bbd_bf59}}",
            binding: 'phoneNumber',
            updateOn: 'blur',
            defaultI18nValue: '手机号',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "phoneNumber", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'mailbox_87e6a742_57nq',
            name: "{{mailbox_87e6a742_57nq}}",
            binding: 'mailbox',
            updateOn: 'blur',
            defaultI18nValue: '邮箱',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "mailbox", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'zgxl_06b176b0_2srd',
            name: "{{zgxl_06b176b0_2srd}}",
            binding: 'zgxl',
            updateOn: 'blur',
            defaultI18nValue: '最高学历',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], EmployeeMsG32pViewmodelForm.prototype, "zgxl", void 0);
    EmployeeMsG32pViewmodelForm = tslib_1.__decorate([
        Injectable(),
        NgValidateForm({
            formGroupName: '人员管理',
            enableValidate: true
        }),
        Injectable()
    ], EmployeeMsG32pViewmodelForm);
    return EmployeeMsG32pViewmodelForm;
}(Form));
export { EmployeeMsG32pViewmodelForm };
